package com.zzx.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzx.project.entity.Backinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BackDao extends BaseMapper<Backinfo> { //后台Dao
    //获取后台统计信息对象
    Backinfo getBackInfo();
    //根据用户id更新后台信息
    int updateInfo(@Param("uid") int uid);
}
